@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>资料室任务单管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="beginTime" name="开始日期" isTime="true"/>
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#TimeCon id="endTime" name="结束日期" isTime="true"/>
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="gcmc" name="工程名称" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#NameCon id="rwdh" name="任务单号" />
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#SelectCon id="scbt" name="生产拌台" >
                                <option value="" selected>全部</option>
                                <option value="1">1#线</option>
                                <option value="2">2#线</option>
                                <option value="3">3#线</option>
                                <option value="5">5#线</option>
                                <option value="6">6#线</option>
                                </#SelectCon>
                            </div>
                            <div class="col-lg-6 col-sm-3">
                                <#SelectCon id="zt" name="生产状态" >
                                    <option value="" selected>全部</option>
                                    <option value="正在生产">正在生产</option>
                                    <option value="暂停生产">暂停生产</option>
                                    <option value="生产完成">生产完成</option>
                                    <option value="新任务单">新任务单</option>
                                </#SelectCon>
                            </div>
                            <div class="col-lg-6 col-sm-4">
                                <#button name="搜索" icon="fa-search" clickFun="Trwd.search()"/>&nbsp;&nbsp;
                                @if(shiro.hasPermission("/trwd/update")) {
                                <#button name="详情" icon="fa-plus" clickFun="Trwd.openTrwdDetail()"/>
                                @}
                                @if(shiro.hasPermission("/trwd/trwd_zl_out")) {
                                <#button name="对外导出" icon="fa-edit" clickFun="Trwd.exportTrwdZlMsgOut()" space="true"/>
                                @}
                            </div>
                            <div class="col-lg-6 col-sm-3">
                            </div>
                        </div>
                        <#table id="TrwdTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/js/common/utils.js"></script>
<script src="${ctxPath}/static/modular/business/trwd/trwd_zl.js"></script>
<script>
    laydate.render({
        elem: '#beginTime'
    });
    laydate.render({
        elem: '#endTime'
    });
</script>
@}
